// router/index.js
import Vue from 'vue';
import Router from 'vue-router';
import Login from '@/views/login/login.vue';
import Picture from '@/views/home/picture.vue';
import User from '@/views/home/user.vue';
import Permissions from '@/views/home/permissions.vue';

Vue.use(Router);

const router = new Router({
    mode: "history",
    routes: [
        { path: '/', component: Login},
        { path: '/picture', component: Picture },
        { path: '/user', component: User },
        { path: '/permissions', component: Permissions },
    ]
});

export default router;
